package com.darren.framework.service;

import java.io.Serializable;
import java.util.List;

public interface GenericService<T,PK extends Serializable> extends BaseService{
	
	public T save(T entity);
	
	public T update(T entity);
	
	public T findById(PK id); 
	
	public T delete(T entity);
	
	public void deleteById(PK id);
	
	public List<T> getAll();
	
}
